package lancs.mobilemedia.factories;

import lancs.mobilemedia.core.ui.controller.ControllerMapper;
import lancs.mobilemedia.core.ui.controller.FavouritesImageListerDecorator;
import lancs.mobilemedia.core.ui.controller.FavouritesMapperDecorator;
import lancs.mobilemedia.core.ui.controller.ImageLister;
import lancs.mobilemedia.core.ui.controller.ShowImageController;
import lancs.mobilemedia.core.ui.screens.CommandList;
import lancs.mobilemedia.core.ui.screens.FavouritesCommandListDecorator;

public class FavouritesSPLFactory implements SPLFactory {

	public CommandList createCommandList(CommandList commandList) {
		return new FavouritesCommandListDecorator(commandList);
	}

	public ControllerMapper createControllerMapper(ControllerMapper mapper) {
		return new FavouritesMapperDecorator(mapper);
	}

	public ImageLister createImageLister(ImageLister imageLister) {
		return new FavouritesImageListerDecorator(imageLister);
	}

	public ShowImageController createShowImageController(ShowImageController showImageController) {
		return showImageController;
	}
}
